From: Matthias Clasen Date: Wed, 15 Dec 2021 22:29:32 +0000 (-0500) Subject: docs: Add some information about event axes X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~91^2^2~45^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=abf6068d9149fdc11e7406667bf8b55c1785899a;p=gtk4.git docs: Add some information about event axes --- diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 5ce7724eb4..71774ae50e 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -942,6 +942,9 @@ gdk_event_get_pointer_emulated (GdkEvent *event) * Extract the axis value for a particular axis use from * an event structure. * + * To find out which axes are used, use [method@Gdk.DeviceTool.get_axes] + * on the device tool returned by [method@Gdk.Event.get_device_tool]. + * * Returns: %TRUE if the specified axis was found, otherwise %FALSE */ gboolean @@ -1168,6 +1171,9 @@ G_DEFINE_BOXED_TYPE (GdkEventSequence, gdk_event_sequence, * * Extracts all axis values from an event. * + * To find out which axes are used, use [method@Gdk.DeviceTool.get_axes] + * on the device tool returned by [method@Gdk.Event.get_device_tool]. + * * Returns: %TRUE on success, otherwise %FALSE */ gboolean